/*
 * @Autor: dingxiaolin
 * @Date: 2021-06-02 13:12:43
 * @LastEditors: dingxiaolin
 * @LastEditTime: 2021-07-27 19:22:38
 */
const allModules = import.meta.globEager('./*/index.ts')
const modules = {} as any
Object.keys(allModules).forEach((path) => {
    const fileName = path.split('/')[1]
    modules[fileName] = allModules[path][fileName] || allModules[path].default || allModules[path]
})
export default modules

// import app from './app'
// import asyncRoute from './asyncRoute'
// import enums from './enums'
// import user from './user'
// import tabsView from './tabsView'

// export default {
//     app,
//     asyncRoute,
//     enums,
//     user,
//     tabsView,
// }
